/**
 *  2013-5-16   上午11:50:09
 *  Created By niexiaoqiang
 */

package com.xiaoqiang.object;

import org.apache.log4j.Logger;

/**
 * TODO Add Class Description
 */
public class MtwMouse {
	private String mouseAction;
	private int mouseButton;
	private int mouseButtonAction;
	private double X;
	private double Y;
	private static Logger log = Logger.getLogger(MtwMouse.class);
	public MtwMouse(String mouseAction,double X)
	{
		this.mouseAction=mouseAction;
		this.X=X;
		log.debug("init MtwMouse2"+mouseAction);
	}
	public MtwMouse(String mouseAction,double X,double Y)
	{
		this.mouseAction=mouseAction;
		this.X=X;
		this.Y=Y;
		log.debug("init MtwMouse3"+mouseAction);
	}
	public MtwMouse(String mouseAction,int mouseButton,int mouseButtonAction)
	{
		this.mouseAction=mouseAction;
		this.mouseButton=mouseButton;
		this.mouseButtonAction=mouseButtonAction;
		log.debug("init MtwMouse1"+mouseAction);
	}
	
	public String getMouseAction() {
		return mouseAction;
	}
	public void setMouseAction(String mouseAction) {
		this.mouseAction = mouseAction;
	}
	public double getX() {
		return X;
	}
	public void setX(double x) {
		X = x;
	}
	public double getY() {
		return Y;
	}
	public void setY(double y) {
		Y = y;
	}
	public int getmouseButtonAction() {
		return mouseButtonAction;
	}
	public void setmouseButtonAction(int mouseButtonAction) {
		this.mouseButtonAction = mouseButtonAction;
	}
	public int getMouseButton() {
		return mouseButton;
	}
	public void setMouseButton(int mouseButton) {
		this.mouseButton = mouseButton;
	}
}
